]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st-box-layout: Queue relayout on adjustment changes
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 28 Jun 2018 14:41:07 +0000 (16:41 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 13 Jul 2018 11:53:46 +0000 (11:53 +0000)
The actor allocation doesn't change per-se, but apply_transform()
will practically transform it. In order to have the paint volume
update accordingly, queue a relayout.

src/st/st-box-layout.c

index 12fe86910491ece21f539acfbb00b105539e040e..3acb15c4039cb5f05aac176f4a8df29b73df1f9c 100644 (file)
@@ -90,7 +90,7 @@ adjustment_value_notify_cb (StAdjustment *adjustment,
                             GParamSpec   *pspec,
                             StBoxLayout  *box)
 {
-  clutter_actor_queue_redraw (CLUTTER_ACTOR (box));
+  clutter_actor_queue_relayout (CLUTTER_ACTOR (box));
 }
 
 static void